this is hassan's very new and advanced button code.